﻿using UnityEngine;
using System.Collections.Generic;

namespace Jinndev {

    public struct Padding {

        public static Padding _quarter = new Padding(0.25f);
        public static Padding quarter { get { return _quarter; } }

        public float left;
        public float right;
        public float top;
        public float bottom;

        public Padding(float top, float right, float bottom, float left) {
            this.top = top;
            this.right = right;
            this.bottom = bottom;
            this.left = left;
        }

        public Padding(float horizontal, float vertical) {
            top = vertical;
            right = horizontal;
            bottom = vertical;
            left = horizontal;
        }

        public Padding(float value) {
            top = value;
            right = value;
            bottom = value;
            left = value;
        }

    }

}
